package com.share.infrastructure.persistent.dao;

import com.share.domain.strategy.model.vo.RuleWeightVo;
import com.share.infrastructure.persistent.po.StrategyAward;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface IStrategyAwardDao {

    List<StrategyAward> queryStrategyAwardList();

    List<StrategyAward> queryStrategyAwardListByStrategyId(long strategyId);

     String queryStrategyAwardRuleModels(StrategyAward strategyAward);

    void updateStrategyAwardStock(StrategyAward strategyAward);

    StrategyAward queryStrategyAward(StrategyAward strategyAwardReq);

    List<RuleWeightVo.Award> queryStrategyAwardListInRuleWeight(Map<String, Object> queryMap);
}
